﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SharpSoft.Geometries
{
    public static class Extensions
    {
        /// <summary>
        /// 求数值的乘幂
        /// </summary>
        /// <param name="d"></param>
        /// <param name="m"></param>
        /// <returns></returns>
        public static double Pow(this double d, double m = 2)
        {
            return Math.Pow(d, m);
        }
    }
}
